package com.ternnetwork.core.configuration.enums;

public enum SeqMessages{
	FAILED_MESSAGE_NAME_CAN_NOT_BE_EMPTY(0,"操作失败,名称不能为空!"),
	FAILED_MESSAGE_NAME_CAN_NOT_BE_DUPLICATE(1,"操作失败,名称已经存在，请重新填写!"),
	FAILED_MESSAGE_PREFIX_CAN_NOT_BE_EMPTY(2,"操作失败,前辍不能为空!"),
	FAILED_MESSAGE_LENGTH_MUST_BE_MORE_THAN_0(3,"操作失败,长度必须大于零!"),
	FAILED_MESSAGE_NEXT_VALUE_MUST_BE_MORE_THAN_0(4,"操作失败,下一个值必须大于零!"),
	FAILED_MESSAGE_ALLOCATION_SIZE_MUST_BE_MORE_THAN_0(5,"操作失败,增长幅度必须大于零!");
	
	private  Integer index;
	
	private String name;
	
    private SeqMessages(int index, String name) {
		this.index = index;
		this.name = name;
	}

    public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

 

}
